{// 引入标签库 }
<tagLib name="fanwe" />
<include file="Public:header" />
<load href="__TMPL__ThemeFiles/Js/jquery.js" />
<load href="__TMPL__ThemeFiles/Js/jquery.json.js" />
<load href="__TMPL__ThemeFiles/Js/model.js" />
<div id="main" class="main" >
<div class="content">
<div class="title">{$Think.lang.EDIT_DATA} [ <a href="{:u($module_name.'/index')}">{$Think.lang.BACK_LIST}</a> ]</div>
<div id="result" class="result none"></div>
<form method='post' id="form" name="form" action="{:u('User/update')}"  enctype="multipart/form-data">
<table cellpadding=0 cellspacing=0 class="dataEdit" >
<tr>
	<td class="tRight" width="120">会员名称：</td>
	<td class="tLeft" >
		{$vo.user_name}
	</td>
</tr>
<tr>
	<td class="tRight" >Email帐号：</td>
	<td class="tLeft" >
		{$vo.email}<input type="hidden" name="email" class="bLeftRequire" value="{$vo.email}" />
	</td>
</tr>
<tr>
	<td class="tRight" >{$Think.lang.NEW_USER_PWD}：</td>
	<td class="tLeft" >
		<input type="password" name="new_user_pwd" class="bLeft" />
	</td>
</tr>

 <tr>
	<td class="tRight" >{$Think.lang.NEW_USER_PWD_CONFIRM}：</td>
	<td class="tLeft" >
		<input type="password" name="new_user_pwd_confirm" class="bLeft" />
	</td>
</tr> 

<tr>
	<td class="tRight" >{$Think.lang.USER_GROUP}：</td>
	<td class="tLeft" >
		<select name="group_id" class="bLeft">
		<foreach name="group_list" item="group_item">
			<option value="{$group_item.id}" <if condition="$vo['group_id'] eq $group_item['id']">selected="selected" </if> >{$group_item.name}</option>
		</foreach>			
		</select>
	</td>
</tr> 
<tr>
	<td class="tRight" >所在团购网站：</td>
	<td class="tLeft" >
		<select id="rec_id" name="rec_id" class="bLeft">
			<option value="{$site.id}" selected>{$site.name}</option>		
		</select>
        <input type="text" id="siteKey" class="site-key" style="width:80px;" value="" />&nbsp;
        <input type="button" class="search-site" value="{$Think.lang._SEARCH_DATA}" style="cursor:pointer;" onclick="$.searchSite('#siteKey','#rec_id');" />
	</td>
</tr> 
<tr>
	<td class="tRight" >QQ/MSN：</td>
	<td class="tLeft" >
		<input type="text" name="qq_msn" class="bLeft" value="{$vo.qq_msn}" />
	</td>
</tr>

<tr>
	<td class="tRight" >电话：</td>
	<td class="tLeft" >
		<input type="text" name="tel" class="bLeft" value="{$vo.tel}" />
	</td>
</tr>
<tr>
	<td class="tRight" >地区：</td>
	<td class="tLeft" >
		<select name="city_id">
		<foreach name="city_list" item="city_item">
		<option value="{$city_item.id}" <if condition="$vo['city_id'] eq $city_item['id']">selected="selected"</if>>{$city_item.name}</option>
		</foreach>
		</select>
	</td>
</tr>
<tr>
	<td class="tRight" >积分：</td>
	<td class="tLeft" >
		<input type="text" name="score" class="bLeft"  value="{$vo.score}"/>
	</td>
</tr>
<tr>
	<td></td>
	<td class="center"><div style="width:85%;margin:5px">
	<input type="hidden" name="id" value="{$vo.id}" />
	<input type="submit" value="{$Think.lang.SAVE_DATA}"  class="button small"> <input type="reset" class="button small" onclick="resetEditor()" value="{$Think.lang.RESET_DATA}" > 
	</div></td>
</tr>
</form>
</table>
</div>
</div>
